#if !defined(__Spring_h__)
#define __Spring_h__

class Particle;

class Spring
{
public:
	Spring(Particle *p1, Particle *p2);
	void applySpring();

private:
	float m_nRestDistance; // The rest distance between two particles

public:

	// Particles which are connected by this spring
	Particle *m_pParticle1;
	Particle *m_pParticle2; 
};

#endif // __Spring_h__